package top.rushpeak.edu03.websocket.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class IndexController {

	@ResponseBody
	@RequestMapping("/test")
	public String test(){
		
		return "connect test";
	}
	
	@RequestMapping("/index")
	public String ws(){
		
		return "index";
	}
	
	
}
